import subprocess

def check_dependencies():
    try:
        subprocess.run(["pip", "freeze"], check=True)
        print("✅ 所有依赖已安装")
    except subprocess.CalledProcessError:
        print("❌ 缺少依赖")